import { getCurrentInstance } from 'vue';

export default function useCurrentInstance () {
  const { appContext } = getCurrentInstance();
  const globalUtils = appContext.config.globalProperties;
  return {
    globalUtils
  }
}